package com.yuju.account.dao.entity;

import com.yuju.persist.base.entity.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RefundRecord extends BaseEntity implements Serializable {
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为acc_refund_record.id
     */
    private String id;

    /**
     *  退款单号,所属表字段为acc_refund_record.refund_no
     */
    private String refundNo;

    /**
     *  账务ID,所属表字段为acc_refund_record.account_id
     */
    private String accountId;

    /**
     *  账务流水号,所属表字段为acc_refund_record.account_code
     */
    private String accountCode;

    /**
     *  退款金额,所属表字段为acc_refund_record.money
     */
    private BigDecimal money;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为acc_refund_record.hotel_id
     */
    private String hotelId;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为acc_refund_record.group_id
     */
    private String groupId;

    /**
     *  创建时间。,所属表字段为acc_refund_record.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为acc_refund_record.gmt_modified
     */
    private Date gmtModified;

    /**
     *  创建用户ID,所属表字段为acc_refund_record.create_user_id
     */
    private String createUserId;

    /**
     *  更新用户ID,所属表字段为acc_refund_record.update_user_id
     */
    private String updateUserId;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRefundNo() {
        return refundNo;
    }

    public void setRefundNo(String refundNo) {
        this.refundNo = refundNo;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccountCode() {
        return accountCode;
    }

    public void setAccountCode(String accountCode) {
        this.accountCode = accountCode;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", refundNo=").append(refundNo);
        sb.append(", accountId=").append(accountId);
        sb.append(", accountCode=").append(accountCode);
        sb.append(", money=").append(money);
        sb.append(", hotelId=").append(hotelId);
        sb.append(", groupId=").append(groupId);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append("]");
        return sb.toString();
    }
}